package com.qf.spring2202.customfactory.dao.impl;

import com.qf.spring2202.customfactory.dao.UserDao;
import com.qf.spring2202.customfactory.entity.User;

public class UserDaoImpl implements UserDao {
    @Override
    public User getUserById(Integer id) {

        System.out.println("UserDaoImpl 的 getUserById 执行了 .....");
        final User user = new User();
        user.setId(100);
        user.setName("zhangsan");
        return user;
    }
}
